package com.atguigu.paymentdemo.service;

import com.atguigu.paymentdemo.entity.OrderInfo;
import com.atguigu.paymentdemo.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;


public interface OrderInfoService extends IService<OrderInfo> {

    OrderInfo createOrderByProdectId(Product product,String userId);

    void callBackPayUpdate(String orderNo);

    OrderInfo findOrderByOrderNo(String orderNo);

    OrderInfo getMyOrderInfo(String userId);
}
